Automated derivation of the adjoint of high-level transient finite element programs

نویسندگان

  • Patrick E. Farrell
  • David A. Ham
  • Simon W. Funke
  • Marie E. Rognes
چکیده

In this paper we demonstrate the capability of automatically deriving the discrete adjoint and tangent linear models from a forward model written in the high-level FEniCS finite element computing environment. In contrast to developing a model directly in Fortran or C++, high-level systems allow the developer to express the variational problems to be solved in near-mathematical notation. As such, these systems have a key advantage: since the mathematical structure of the problem is preserved, they are more amenable to automated analysis and manipulation. Our approach to automated adjoint derivation relies on run-time annotation of the temporal structure of the model, and employs the same finite element form compiler to automatically generate the low-level code for the derived models. The approach requires only trivial changes to a large class of forward models, including complicated time-dependent nonlinear models. The adjoint model automatically employs optimal checkpointing schemes to mitigate storage requirements for nonlinear models, without any user management or intervention. Furthermore, both the tangent linear and adjoint models naturally work in parallel, without any need to differentiate through calls to MPI or to parse OpenMP directives. The generality and applicability of the approach is demonstrated with examples from a wide range of scientific applications.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Regularity of Bounded Tri-Linear Maps and the Fourth Adjoint of a Tri-Derivation

In this Article, we give a simple criterion for the regularity of a tri-linear mapping. We provide if f : X × Y × Z −→ W is a bounded tri-linear mapping and h : W −→ S is a bounded linear mapping, then f is regular if and only if hof is regular. We also shall give some necessary and sufficient conditions such that the fourth adjoint D^∗∗∗∗ of a tri-derivation D is again tri-derivation.

متن کامل

Diagnosis of Different Types of Air-Gap Eccentricity Fault in Switched Reluctance Motors Using Transient Finite Element Method

This paper presents a method for diagnosis of eccentricity fault in a switched-reluctance motor (SRM) during offline and standstill modes. In this method, the fault signature is differential induced voltage (DIV) achieved by injecting diagnostic pulses to the motor windings. It will be demonstrated by means of results that there is a correlation between differential induced voltage and eccentri...

متن کامل

On the topological sensitivity of transient acoustic fields

The concept of topological sensitivity has been successfully employed as an imaging tool to obtain the correct initial topology and preliminary geometry of hidden obstacles for a variety of inverse scattering problems. In this paper, we extend these ideas to acoustic scattering involving transient waveforms and penetrable obstacles. Through a boundary integral equation framework, we present a d...

متن کامل

Dynamics Analysis of the Steady and Transient States of a Nonlinear Piezoelectric Beam by a Finite Element Method

This paper presents a finite element formulation for the dynamics analysis of the steady and transient states of a nonlinear piezoelectric beam. A piezoelectric beam with damping is studied under harmonic excitation. A numerical method is used for this analysis. In the paper, the central difference formula of four order is used and compared with the central difference formula of two order in th...

متن کامل

The Finite Element Transient Structure Analysis of the Startup of the Sugarcane Harvester Transfer Case

The broken bearings and great noise and vibration often occurs with the small sugarcane harvester transfer case when it starts up working. To analyze the startup status of the transfer case conveniently and quickly, the finite element transient structure analysis is carried out. with virtual prototype technology to simulate the transfer case's startup dynamic process and measure the instantaneo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • SIAM J. Scientific Computing

دوره 35  شماره 

صفحات  -

تاریخ انتشار 2013